/*
 * @Description: 
 * @Version: 2.0
 * @Author: Symbol_Yang
 * @Date: 2022-06-07 09:51:24
 * @LastEditors: Symbol_Yang
 * @LastEditTime: 2022-09-29 08:54:17
 */
'use strict'

const mongoose = require('mongoose')


//后台管理系统使用
require('./admin')

require('./menu')

require('./role')

require('./role_menu')

require('./banner')

require('./enterprise')

require("./setting")

require("./shortmsg")

require("./short_msg_log")

require("./short_msg_send_config")

require("./short_msg_sending")


require("./equipment")

require("./equipment_log")

require("./cabinet")
require("./supply")
require("./buyrecord")

module.exports = {

    AdminUserModel: mongoose.model('admin'),

    MenuModel: mongoose.model('menu'),

    SupplyModel: mongoose.model('supply'),

    BuyRecordModel: mongoose.model('buyrecord'),

    RoleModel: mongoose.model('role'),

    RoleMenuModel: mongoose.model('role_menu'),

    BannerModel: mongoose.model('banner'),

    EnterpriseModel: mongoose.model('enterprise'),

    SettingModel: mongoose.model('setting'),

    ShortMsgModel: mongoose.model('short_msg'),


    EquipmentModel: mongoose.model("equipment"),
    
    EquipmentLogModel: mongoose.model("equipment_log"),

    CabinetModel: mongoose.model("cabinet"),

    ShortMsgLogModel: mongoose.model("short_msg_log"),
    
    ShortMsgSendConfigModel: mongoose.model("short_msg_send_config"),

    ShortMsgSendingModel: mongoose.model("short_msg_sending"),
    
    mongoose: mongoose
}
